package com.disapand.strongarmy.exception

import com.disapand.strongarmy.enum.ResponseCode

/**
 * 系统自定义异常
 *
 * @auth disapand
 * @date 2021/10/12 - 22:28 - 星期二
 * @param responseCode  ResponseCode    异常状态
 * @param data          Any?            异常信息，可以为空
 *
 */
data class SaException(val responseCode: ResponseCode, val data: Any?) : Exception(responseCode.message)